/**
* <p>Title: UserService.java</p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2013</p>
* @author majintao
* @date 2013-1-30
* @version 1.0
*/
package service;
import entity.User;

public interface UserService {
	//用户登录
	public User login(User user);
	//用户注册
	public boolean reg(User user);
	//检查用户名或者Email是否已经注册  
	//type = 1 检查用户名
	//type =2 检查Email
	public boolean check(String param,int type);
}
